package com.longyiqun.cm.mapper;

import com.longyiqun.cm.domain.CleanScriptEntity;
import com.longyiqun.cm.domain.ModuleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * program: CaseManager
 * package: com.longyiqun.cm.mapper
 * author: 龙轶群
 * create: 2018-05-03 10:48
 **/

@Mapper
public interface CleanScriptMapper {

    @Select("select * from clean_script where module=#{module} and env=#{env}")
    CleanScriptEntity runModuleSQL(@Param("module") String module, @Param("env") String env);
}